<link rel="stylesheet" type="text/css" href="{$smarty.const.THEME_RELATIVE}modules/loginmodule/loginmodule.css">
<script language="javascript">
    var _login_agreed_term2 = "{$_TR.agree_term_policy_alert}";
</script>
<script type="text/javascript" src="{$smarty.const.THEME_RELATIVE}modules/loginmodule/js/login_redirect.js"></script>

<div class=row>
    {assign var="login_info_src" value="`$smarty.const.LANG`_login_info_src"}
    {chain module=textmodule view=Default src=$login_info_src}
    <div class="control" >
        <label>
            <span class="label"><input checked="checked" type="checkbox" name="agreed" id="agreed2" class="agreed" >{$_TR.agree_term_policy}</span>    
        </label>
    </div>
    <div class="one_half first">
        <form action="{$smarty.const.URL_FULL}index.php" method="post" class="webFormA" id="login_form2">
            <input type="hidden" name="module" value="loginmodule">
            <input type="hidden" name="action" value="login_ajax">
            <input type="hidden" name="ajax_action" value="1">
            <h1>{$_TR.have_account_title}</h1>
            <div class="form_header">
                <p>
                    {$_TR.login_hin}
                </p>
            </div>

            <div class="control" id="usernameControl">
                <label>
                    <span class="label">{$_TR.user_name}</span>
                    <input type="text" value="" name="username" class="text">
                </label>
            </div>

            <div class="control" id="passwordControl">
                <label>
                    <span class="label">{$_TR.password}</span>
                    <input type="password" value="" name="password" class="text">
                </label>
            </div>

            <input id="submit2" class="login_button" type="submit" value="{$_TR.login_button}" style="float: right;">

            <div id="login_error2"></div>
            <div id="login_success2"></div>
            <div id="ajax_loading2"><img align="absmiddle" src="{$smarty.const.THEME_RELATIVE}modules/loginmodule/images/spinner.gif">&nbsp;{$_TR.logining}</div>
            <div class="clearfix"></div>
            <div style="display: none;" id="login_success_mess2">{$_TR.loginpage_loginsuccess}</div>



        </form>
    </div>

    <div class="one_half last">
        {*<img src="{$smarty.const.THEME_RELATIVE}images/user_register.png" style="float: right;">
        {chain module=loginmodule action=createuser}*}

        {* Form reset pass *}
        <form action="{$smarty.const.URL_FULL}index.php" method="post" class="webFormA" id="resetpass_form">
            <input type="hidden" name="module" value="loginmodule">
            <input type="hidden" name="action" value="resetpass_send">
            <input type="hidden" name="ajax_action" value="1">

            <h1>{$_TR.reset_password}</h1>
            <div class="form_header">
                <p>
                    {$_TR.get_newpassword_hin}
                </p>
            </div>
            <div class="control" id="usernameControl">
                <label>
                    <span class="label">{$_TR.forgetpassword_username}</span>
                    <input type="text"  name="username" class="text">
                </label>
            </div>
            <div style="text-align: center; padding-bottom: 10px;">
                <input type="submit" class="login_button" value="{$_TR.get_newpassword}" id="rp_submit" style="float: right;">  
            </div>
            <div id="rp_status"></div>
            <div id="rp_ajax_loading"><img align="absmiddle" src="{$smarty.const.THEME_RELATIVE}modules/loginmodule/images/spinner.gif">&nbsp;{$_TR.forgetpassword_posting}</div>
            <div class="clearfix"></div>

        </form>
        {* End Form reset pass *}

    </div>
</div>
<br><br>